package com.ajk.shop.dao.provider;

import com.ajk.shop.model.UserAddress;

/** 
 * @author 作者 : chenxuan
 * @version 创建时间：2015年12月31日 上午10:22:41 
 * 类说明 
 */
public class UserAddressProvider {

	public String modifyUserAddress(UserAddress userAddress){
		StringBuffer sbBuffer = new StringBuffer();
		sbBuffer.append("update user_address set mobile = #{mobile},tel = #{tel},name = #{name},province_id = #{provinceId} ,city_id = #{cityId}");
		sbBuffer.append(",district_id = #{districtId},address = #{address},postcode = #{postcode},province = #{province}");
		sbBuffer.append(",city = #{city},district = #{district},is_default = #{isDefault} where id = #{id}");
		return sbBuffer.toString();
		
	}
}